Improved Dynamic Reachability Algorithms for Directed Graphs
نویسندگان
چکیده
We obtain several new dynamic algorithms for maintaining the transitive closure of a directed graph and several other algorithms for answering reachability queries without explicitly maintaining a transitive closure matrix. Among our algorithms are: (i) A decremental algorithm for maintaining the transitive closure of a directed graph, through an arbitrary sequence of edge deletions, in O(mn) total expected time, essentially the time needed for computing the transitive closure of the initial graph. Such a result was previously known only for acyclic graphs. (ii) Two fully dynamic algorithms for answering reachability queries. The first is deterministic and has an amortized insert/delete time of O(m √ n), and worst-case query time of O( √ n). The second is randomized and has an amortized insert/delete time of O(m0.58n) and worst-case query time of O(m0.43). This significantly improves the query times of algorithms with similar update times. (iii) A fully dynamic algorithm for maintaining the transitive closure of an acyclic graph. The algorithm is deterministic and has a worst-case insert time of O(m), constant amortized delete time of O(1), and a worst-case query time of O(n/ logn). Our algorithms are obtained by combining several new ideas, one of which is a simple sampling idea used for detecting decompositions of strongly connected components, with techniques of Even and Shiloach [J. ACM, 28 (1981), pp. 1–4], Italiano [Inform. Process. Lett., 28 (1988), pp. 5–11], Henzinger and King [Proceedings of the 36th Annual Symposium on Foundations of Computer Science, Milwaukee, WI, 1995, pp. 664–672], and Frigioni et al. [ACM J. Exp. Algorithmics, 6 (2001), (electronic)].
منابع مشابه
Improved Fully Dynamic Reachability Algorithm for Directed Graph
We propose a fully dynamic algorithm for maintaining reachability information in directed graphs. The proposed deterministic dynamic algorithm has an update time of O((ins ∗ n) + (del ∗ (m + n ∗ log(n)))) where m is the current number of edges, n is the number of vertices in the graph, ins is the number of edge insertions and del is the number of edge deletions. Each query can be answered in O(...
متن کاملNew Time-Space Upperbounds for Directed Reachability in High-genus and H-minor-free Graphs
We obtain the following new simultaneous time-space upper bounds for the directed reachability problem. (1) A polynomial-time, Õ(ng)-space algorithm for directed graphs embedded on orientable surfaces of genus g. (2) A polynomial-time, Õ(n)-space algorithm for all H-minor-free graphs given the tree decomposition, and (3) for K3,3-free and K5-free graphs, a polynomial-time, O(n )-space algorithm...
متن کاملDecremental Single-Source Reachability and Strongly Connected Components in Õ(m√n) Total Update Time
We present randomized algorithms with a total update time of Õ(m √ n) for the problems of decremental singlesource reachability and decremental strongly connected components on directed graphs. This improves recent breakthrough results of Henzinger, Krinninger and Nanongkai [STOC 14, ICALP 15]. In addition, our algorithms are arguably simpler. Keywords-dynamic algorithm; single-source reachabil...
متن کاملNew Lower Bound Techniques for Dynamic Partial Sums and Related Problems
We study the complexity of the dynamic partial sum problem in the cell-probe model. We give the model access to nondeterministic queries and prove that the problem remains hard. We give the model access to the right answer ±1 as an oracle and prove that the problem remains hard. This suggests which kind of information is hard to maintain. From these results, we derive a number of lower bounds f...
متن کاملUniversit a Degli Studi Di Roma \la Sapienza" Fully Dynamic Algorithms for Path Problems on Directed Graphs Fully Dynamic Algorithms for Path Problems on Directed Graphs
In this thesis we investigate fully dynamic algorithms for path problems on directed graphs. In particular, we focus on two of the most fundamental path problems: fully dynamic transitive closure and fully dynamic single-source shortest paths. The rst part of the thesis presents a new technique which makes it possible to reduce fully dynamic transitive closure to the problem of reevaluating pol...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002